<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>企业资审公示查看（生产企业端）</title>
    <%@ include file="/WEB-INF/component/commonCSS.jsp" %> 
    <!--[if lt IE 9]>
        <script src="lib/js/html5shiv.min.js"></script>
        <script src="lib/js/respond.min.js"></script>
    <![endif]-->
</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
    <!-- 操作列更多弹窗 -->
    <div class="box box-primary" id="more" style="width:100px;height:35px;background-color:#2C3B41;position:absolute;z-index:9999;left:850px;top:100px;display:none;font-size:12px;border-top-color:#2C3B41;">
            <div class="box-body home-message" id="moreOp">
            </div>
    </div>

    <section class="content-header">
        <h1>企业资审公示查看</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i>首页</a></li>
            <li class="active"><a href="#">招标采购管理</a></li>
            <li class="active"><a href="#">招企业资质管理</a></li>
        </ol>
    </section>
    <section class="content">
        <div class=" box box-success">
            <!-- <div class="box-body">
                <div class=" form-inline">
                    <div class="form-group form-group-xs">
                     <label>企业资质编号：</label>
                        <input class="form-control" id="profileCode" name="profileCode" type="text" placeholder="企业资质编号" />
                    </div>
                     <div class="form-group form-group-xs">
                        <label>企业资质名称：</label>
                        <input class="form-control" id=profileName name="profileName" type="text" placeholder="企业资质名称" />
                    </div>
                     
                    <button type="button" onclick="gridSerch();" class="btn btn-success btn-sm"> 查&nbsp;询</button>
                </div>
            </div> -->
        </div>
        <table class="jqgrid" id="gridlist"></table>
        <div id="gridpage"></div>
        

    </section>
    <%@ include file="/WEB-INF/component/commonJS.jsp" %> 
    <script type="text/javascript">
        
        $(function () {
            
            $("#gridlist").jqGrid({
                url: "${ctx}/prodProfile/getProfileAuditResultList.html",
                mtype: "POST",
                datatype: "json",
                postData: { "projId" : "${projId}" },
                autowidth: true,
                //shrinkToFit:false,
                height: 270,
                colNames: [
                           'projId',
                            'compprofileId',
                            'compId',
                            '企业资质编号',
                            '企业资质名称',
                            '企业资质类型',
                            '企业资质有效期始',
                            '企业资质有效期止',
                            '资质图片地址',
                            '资质图片缩略图地址',
                            '状态',
                            '备注',
                            '审核状态',
                            '审核时间',
                            '审核备注',
                            '澄清状态',
                            '澄清时间',
                            '澄清备注',
                            '澄清审核时间',
                            '澄清审核备注'
                            ],
                colModel: [
                    { name: 'projId', width: 120 ,hidden:true, align:"center",sortable: false},
                    { name: 'compprofileId', width: 120 ,hidden:true, align:"center",sortable: false},
                    { name: 'compId', width: 120 ,hidden:true, align:"center",sortable: false},
                    { name: 'profileCode', width: 60 ,key:true, align:"center",sortable: false},
                    { name: 'profileName', width: 140 , align:"left",sortable: false,key:true},
                    { name: 'profileType', width: 150 , align:"left" ,sortable: false,key:true},
                    { name: 'profileStarttime', width: 80, align:"center" ,sortable: false,key:true},
                    { name: 'profileEndtime', width: 60 , align:"center" ,sortable: false,key:true},
                    { name: 'profilePicAddr', width: 60 , align:"center" ,sortable: false,key:true},
                    { name: 'profilePicShortcutAddr', width: 100 , align:"left" ,sortable: false,key:true},
                    { name: 'status', width: 40 , align:"center" ,sortable: false,key:true},
                    { name: 'remarks', width: 60 , align:"center" ,sortable: false,key:true},
                    { name: 'auditStatus', width: 100 , align:"left" ,sortable: false,key:true},
                    { name: 'auditDatetime', width: 40 ,align:"center" ,sortable: false,key:true},
                    { name: 'auditRemark', width: 60 , align:"center" ,sortable: false,key:true},
                    { name: 'complainStatus', width: 100 , align:"left" ,sortable: false,key:true},
                    { name: 'complainDatetime', width: 40 , align:"center" ,sortable: false,key:true},
                    { name: 'complainRemark', width: 60 , align:"center" ,sortable: false,key:true},
                    { name: 'complainAuditDatetime', width: 100 , align:"left" ,sortable: false,key:true},
                    { name: 'complainAuditRemark', width: 40 , align:"center" ,sortable: false,key:true}
                ],
                rowNum: 20,
                rowList: [10,20,50,100],
                rownumbers: true,
                pager: "#gridpage",
                //multiselect: true, 
                viewrecords: true,
                caption: "企业资审公示列表",
                jsonReader: {
                    repeatitems: false,
                    id: "projId"
                }
            });
            $("#gridlist").jqGrid('navGrid', '#gridpage', { add: false, edit: false, del: false, search: false, refresh: false });
            $(window).trigger("resize");  
            
        });
        

        //查询
       /*  function gridSerch() {
            var profileCode = $.trim($("#profileCode").val());
            var profileName = $.trim( $("#profileName").val());
            $("#gridlist").jqGrid('setGridParam',{  
                datatype:'json',
                postData:{"profileCode":profileCode,
                        "profileName":profileName}
            }).trigger("reloadGrid"); //重新载入  
        } */
        
        
     
        
        
 
    </script>
</body>
</html>